# -*- coding: utf-8 -*-
def mt():
	ret = ''
	for a in range(1,10):
		for b in range(1,10):
			ret += '%s * %s = %s\n' % (a,b,a*b)
	return ret

print("구구단 출력")
print (mt()    )
